package com.ponhu.ea2.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author Wang
 * @date 2021/12/13 6:46 下午
 */
@ApiModel("库存数据")
@Data
@Accessors(chain = true)
public class PickInventoryStockVo implements Serializable {
    private static final long serialVersionUID = 1557915756024552915L;

    @ApiModelProperty("货品ID")
    private Long inventoryId;
    @ApiModelProperty("可售数")
    private Integer totalSalesStockNum;
    @ApiModelProperty("实物数")
    private Integer totalRealStockNum;
    @ApiModelProperty("调拨在途数量")
    private Integer freeStockNum;
    @ApiModelProperty("仓库位置")
    private String warehousePlace;
    @ApiModelProperty("仓库编码")
    private String warehouseCode;
    @ApiModelProperty("在库时长(二奢)")
    private Integer warehouseAliveDay;
    @JsonIgnore
    private LocalDateTime firstWarehouseTime;
    @JsonIgnore
    private LocalDateTime lastWarehouseTime;
}
